TFlexCompress.OnRequestMiddleVolume
TFlexCompress
Top 


Occurs when middle volume should be inserted while extracting or testing a multi-volume archive.

type TFXCOnRequestMiddleVolumeEvent = procedure(
Sender:       TObject;
VolumeNumber:   Integer;
var VolumeFileName:    WideString;
var Cancel:       Boolean
) of object;
property OnRequestMiddleVolume: TFXCOnRequestMiddleVolumeEvent;

Description

Write an OnRequestMiddleVolume event handler to perform asking the user for inserting a middle volume of the multi-volume archive. See also OnRequestFirstVolume and OnRequestLastVolume events.
VolumeNumber specifies a number of the volume that should be inserted.
Also you can override default file name for this volume using VolumeFileName. Use Cancel to abort current operation.